package com.bourne.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * <p>
 * 
 * </p>
 *
 * @author bourne
 * @since 2022-02-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("user_details")
@AllArgsConstructor
@NoArgsConstructor
public class UserDetailsDO extends BaseCoreDO implements Serializable {

    public UserDetailsDO(UserDO userDO) {
        this.userId = userDO.getId();
    }

    private static final long serialVersionUID = 1L;

    /**
     * 用户ID
     */
    private Long userId;

    /**
     * 微信号
     */
    private String wechatId;

    /**
     * 头像
     */
    private String headImg;

    /**
     * 签名
     */
    private String slogan;

    /**
     * 性别
     */
    private Integer sex;

}
